<!DOCTYPE html>

<html>
<head>
  <title>Beego</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>

<body>

<div id="content_userlist">

    <h2 align="center">呼叫详细记录</h2>
    <table border="1" align="center" width="90%">
        <tr><th>主叫号码</th><th>被叫号码</th><th>起始时刻</th><th>应答时刻</th><th>结束时刻</th></tr>
        {{range .cdrs}}
        <tr>
            <td>{{.CallerIdNumber}}</td>
            <td>{{.DestinationNumber}}</td>
            <td>{{.StartStamp}}</td>
            <td>{{.AnswerStamp}}</td>
            <td>{{.EndStamp}}</td>
        </tr>
        {{end}}
    </table>
    
</div>

</body>

</html>
